﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace Eacademy.Domain.Models
{
    public class AdminAssignmentsViewModel
    {
        public int AssignmentId { get; set; }
        public string Title { get; set; }
        public string Assignment { get; set; }

        [DisplayName("Due Date")]
        [Required(ErrorMessage = "Please enter the assignment's due date")]
        public string DateDue { get; set; }

        public DateTime DatePosted { get; set; }
        public DateTime DateModified { get; set; }
        public int SubjectId { get; set; }
        public int MentorUserId { get; set; }
        public string Files { get; set; }
        public List<string> FileList { get; set; }
    }
}